﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DE_MVC_WyFy.Areas.Administrator.Models;

namespace DE_MVC_WyFy.Controllers
{
	public class HomeController : Controller
	{
		public ActionResult Index()
		{
			ViewBag.Message = "Welcome to DevExpress Extensions for ASP.NET MVC!";
			ViewBag.Hello = "fsfs";
			List<ProductType> listPrType = ProductType.Objects.All().ToList();
			return View(listPrType);
		}
	}
}
